package com.wxxymaker.service;


import com.wxxymaker.model.dao.DeletedShopDao;
import com.wxxymaker.model.entity.DeletedShop;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Service
@Transactional
public class DeletedShopService {

    @Autowired
    private DeletedShopDao shopDao;

    /**
     * 获取所有被删除过的公司
     * @return 列表
     */
    public List<DeletedShop> findAll() {
        return shopDao.findAll();
    }
}
